using System;
using System.Collections.Generic;
using System.Text;

namespace NDomain.ExampleModels.CargoShippingSystem.Shipping
{
    [Repository]
    public class LocationRepository : ICollection<Location>
    {
        #region ICollection<Location> Members

        void ICollection<Location>.Add(Location item)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        void ICollection<Location>.Clear()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        bool ICollection<Location>.Contains(Location item)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        void ICollection<Location>.CopyTo(Location[] array, int arrayIndex)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        int ICollection<Location>.Count
        {
            get { throw new Exception("The method or operation is not implemented."); }
        }

        bool ICollection<Location>.IsReadOnly
        {
            get { throw new Exception("The method or operation is not implemented."); }
        }

        bool ICollection<Location>.Remove(Location item)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        #endregion

        #region IEnumerable<Location> Members

        IEnumerator<Location> IEnumerable<Location>.GetEnumerator()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        #endregion

        #region IEnumerable Members


        System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        #endregion
    }
}
